package model

import (
	"time"
)

type AuEmployee struct {
	EmpId        int       `xorm:"not null pk autoincr INT(10)"`
	DepartId     int       `xorm:"not null index INT(10)"`
	Username     string    `xorm:"not null unique VARCHAR(30)"`
	Passwd       string    `xorm:"not null VARCHAR(32)"`
	Email        string    `xorm:"not null VARCHAR(50)"`
	RealName     string    `xorm:"not null VARCHAR(30)"`
	Sex          int       `xorm:"not null SMALLINT(3)"`
	Mobile       string    `xorm:"not null VARCHAR(11)"`
	Avatar       string    `xorm:"not null VARCHAR(600)"`
	Describe     string    `xorm:"TEXT"`
	Status       int       `xorm:"not null SMALLINT(3)"`
	ProvinceId   int       `xorm:"not null INT(10)"`
	Store        int       `xorm:"not null SMALLINT(3)"`
	Createtime   time.Time `xorm:"not null DATETIME"`
	Address      string    `xorm:"not null VARCHAR(100)"`
	CheckerLevel int       `xorm:"not null default 1 SMALLINT(3)"`
	IsHead       int       `xorm:"not null default 0 SMALLINT(3)"`
}
